Search results

14 packages found

Ensure a function is only called once

published 7.0.0 6 months ago
M
Q
P

Nuanced implementation of 'once' functionality, optimized for node.js

published 2.0.2 10 months ago
M
Q
P

Once.js is a 0.1kb micro-library that enables you to enforce a function can only be executed once. Once.js completely dependency-free and written in both CoffeeScript and JavaScript for AMD, Node.js and the Web.

published 0.0.4 10 years ago
M
Q
P

A micro typescript library for ensuring that a function is called only once.

published 1.0.1 5 years ago
M
Q
P

call MutationObserver.observe() for single object (the last one), default for single attribute.

published 1.0.1 2 years ago
M
Q
P

Create a filled array according to a provided callback function.

published 0.2.1 2 months ago
M
Q
P

Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.

published 6.0.1-cjs.0 2 years ago
M
Q
P

the simplest way to call a function once

published 2.0.1 8 years ago
M
Q
P

CJS version: Ensure a function is only called once

published 6.0.0 2 years ago
M
Q
P

CommonJS version of onetime 6.0.0. See https://github.com/mifi/commonify

published 6.0.0 2 years ago
M
Q
P

Efficiently use an Observer (i.e. IntersectionObserver) without the ugly observer callback. `insular-observer` gives you a simple, per-target `observe/unobserve` API that uses the same observer instance internally.

published 0.1.1 4 years ago
M
Q
P

Run a function exactly one time and show stack traces when second call occurs

published 1.4.1 7 years ago
M
Q
P

Combine multiple APIs into single, call each API, and return a set of responses.

published 0.0.12 6 years ago
M
Q
P

open new tab instead of create a new app instance when click the system-context-menu or call to hyper.exe

published 0.0.9 5 years ago
M
Q
P